package com.health.db.mapper;

 
import com.health.db.model.IMsgIMMessage;
import com.health.db.model.IMsgIMMessageExt;
import com.health.mapp.bean.GetCommHistoryReq;

import java.util.List;

import org.apache.ibatis.annotations.Param;
/**
 * 会话消息表
 * @author acer
 *
 */
public interface IMsgIMMessageMapper {
 
 

    int deleteByPrimaryKey(Long recid);

    int insert(IMsgIMMessage record);

    
    List<IMsgIMMessage> selectByCondition(IMsgIMMessageExt example);

    IMsgIMMessage selectByPrimaryKey(Long recid);
 

    int updateByPrimaryKey(IMsgIMMessage record);

    void  insertBatch( List<IMsgIMMessage> record);
    
    void updateBatch4UploadOSS(List<IMsgIMMessage> record);
    
      
}